import selfApi from 'api/selfApi'
import * as types from '../mutation-types'
import Common from 'common/common'

const com = new Common()
const getDefaultState = () => {
  return {
    getLoginData: {}
  }
}

const state = getDefaultState()

const mutations = {
  [types.GET_LOGIN_DATA](state, data) {
    state.getLoginData = data
  }
}

const actions = {
  /**
   * 获取登录数据
   * @param state
   * @param commit
   * @param params
   * @returns {Promise<void>}
   */
}
const getters = {}

export default {
  state,
  actions,
  mutations,
  getters
}
